﻿using System.Collections.Generic;

namespace ZQNB.Web.Common.Contexts
{
    public interface INbRbacContext
    {
        string Op { get; set; }
        string LoginName { get; set; }
        IList<NbRole> Roles { get; set; }
    }

    public class NbRole
    {
        public string Site { get; set; }
        public string RoleCode { get; set; }
        public string RoleName { get; set; }
    }

    public class NbRbacContext : INbRbacContext
    {
        public string Op { get; set; }
        public string LoginName { get; set; }
        public IList<NbRole> Roles { get; set; }
    }
}